package com.yyaccp.appinfo.mapper;

import com.yyaccp.appinfo.domain.AppVersion;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AppVersionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(AppVersion record);

    AppVersion selectByPrimaryKey(AppVersion appVersion);

    List<AppVersion> selectAll();

    int updateByPrimaryKey(AppVersion record);

    List<AppVersion> selectAppId(AppVersion appVersion);

    int add(AppVersion appVersion);

    Long selectNewVersion(AppVersion appVersion);

    int deleteAppId(@Param("appId")Long appId);
}